#include "MTParenExpression.hpp"
#include "MTExpression.hpp"
#include <iostream>
#include <sstream>
#include <string>

namespace MathematicaTranslator
{
 	std::string* MTParenExpression::generateCode(CodeGenContext& context)
	{
		std::ostringstream ss;
		ss << "(";
		ss << *expr.generateCode(context);
		ss << ")";
		return new std::string(ss.str());
	}
	
	std::string* MTParenExpression::getType()
	{
		return expr.getType();
	}

}
